package com.castle.fortress.admin.study.course.entity;

import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import java.util.Date;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;
/**
 * 课程记录表 实体类
 *
 * @author castle
 * @since 2023-02-14
 */
@Data
@TableName("study_course_log")
public class StudyCourseLogEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 主键
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	@TableId(
			value = "id",
			type = IdType.ASSIGN_ID
	)
	private Long id;
	/**
	 * 所属课程ID
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	private Long courseId;
	/**
	 * 所属章节ID
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	private Long chapterId;
	/**
	 * 所属课件ID
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	private Long coursewareId;
	/**
	 * 用户ID
	*/
	private Long memberId;
	/**
	 * 状态
	*/
	private Integer status;
	/**
	 * 已学时长，单位秒
	*/
	private Integer studyTime;
	/**
	 * 创建者
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	private Long createUser;
	/**
	 * 创建时间
	*/
	private Date createTime;

}
